package com.ruibang.glass.quality.mapper;

import com.ruibang.glass.quality.domain.resp.ParticlePlot;
import com.ruibang.glass.quality.domain.resp.ParticlePlotData;
import com.ruibang.glass.quality.domain.req.ParticlePlotReq;
import com.ruibang.glass.quality.entity.ShelfLotItem;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-12-01  15:12
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface ParticlePlotMapper extends CommonMapper<ParticlePlot> {

    List<String> getGlassIdByBatchNumber(@Param("batchNumber") String batchNumber);

    List<ParticlePlotData> queryDefectInfo(@Param("particlePlotReq") ParticlePlotReq particlePlotReq);

    List<ShelfLotItem> getGlassIdMappingBatchNumber();

}
